package com.kws.tool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.tool.dto.QueryElectrovalenceRq;
import com.kws.tool.entity.TbElectrovalence;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ElectrovalenceManagementMapper extends BaseMapper<TbElectrovalence> {
    Page<TbElectrovalence> queryElectrovalencePage(@Param("page") Page<TbElectrovalence> page, @Param("query") QueryElectrovalenceRq query);

    List<String> queryElectricityTypeList(@Param("electricityType") String electricityType);

    List<String> queryVoltageLevelList(@Param("voltageLevel") String voltageLevel);
}
